#ifndef _DATASOURCEMANAGER_H
#define	_DATASOURCEMANAGER_H

#include "DataSource.h"
#include "DataSourceException.h"

namespace etu {
namespace db {

class DataSourceManager {

    static DataSource* dataSource;
public:
    static DataSource* getDataSource();
    static void setDataSource(DataSource* dataSource);

private:
    DataSourceManager() {}
    // DataSourceManager(const DataSourceManager& orig) {}
    virtual ~DataSourceManager() {}
};

}
}

#endif	/* _DATASOURCEMANAGER_H */

